package com.retail.booking.client;

import com.retail.booking.entity.request.BookingShareRecordRequest;
import com.retail.booking.entity.request.BookingUserCreateShareRequest;
import com.retail.booking.entity.request.BookingXiaohesuanRequest;
import com.retail.booking.entity.vo.BookingSharePosterConfigVo;
import com.retail.core.entity.result.Result;

/**
 * @author Administrator
 */
public interface BookingPosterClient {

    /**
     * 得到海报信息
     * @return
     */
    Result<BookingSharePosterConfigVo> getPoster();

    /**
     * 生成分享记录
     * @param request
     * @return
     */
    Result createBookingShareRecord(BookingUserCreateShareRequest request);

    /**
     * 分享记录
     * @param request
     * @return
     */
    Result saveShareRecord(BookingShareRecordRequest request);

    /**
     * 保存小核算预约记录
     * @param request
     * @return
     */
    Result saveXiaohesuan(BookingXiaohesuanRequest request);

}
